﻿using System;
using System.Collections.Generic;
using System.Text;
using HtmlAgilityPack;

namespace ihongma.WebData
{

    public class stringHthmlhlep
    {
        private string html;

        public string Html
        {
            get { return html; }
            set { html = value; }
        }
        private string Childid;

        public string Childid1
        {
            get { return Childid; }
            set { Childid = value; }
        }
        private Model.UrlAge age;

        public Model.UrlAge Age
        {
            get { return age; }
            set { age = value; }
        }
        public stringHthmlhlep(string html)
        {
            this.Html = html;
        }
        public HtmlNode getidinfo(string id)
        {
            HtmlDocument dfsa = new HtmlDocument();
            dfsa.LoadHtml(this.Html);
            //dfsa.LoadHtml(id);
            HtmlNode hn = dfsa.GetElementbyId(id);
            return hn;
        }
       
    }
}
